.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url('../../assets/images/login/bgc.png');
    background-size: cover;
}

.logo {
    position: absolute;
    top: -50px;
    left: 20px;
    width: 350px;
    height: auto;
}

.loginBox {
    width: 400px;
    padding: 20px;
}

.title {
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
}

.form {
    width: 100%;
}

.inputGroup {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.icon {
    padding: 0 12px;
    color: #999;
    font-size: 16px;
}

.input {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.passwordIcon {
    padding: 0 12px;
    cursor: pointer;
    color: #999;
}

.options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #000;
    font-size: 16px;
}

.rememberPassword {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 16px;
    color: #000;
}

.forgotPassword {
    cursor: pointer;
    font-size: 16px;
    color: #000;
}

.button {
    width: 150px;
    padding: 12px;
    background-color: #1890ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    margin: 0 auto;
    margin-top: 50px;
}

.button:hover {
    background-color: #40a9ff;
}

.captchaContainer {
    display: flex;
    align-items: center;
    flex: 1;
}

.captchaInput {
    flex: 1;
    height: 40px;
    padding: 0 12px;
    border: none;
    outline: none;
    font-size: 14px;
}

.captchaInput::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.captchaImage {
    width: 100px;
    height: 40px;
    cursor: pointer;
    margin-right: 4px;
}

.successMessage {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(82, 196, 26, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 1000;
    animation: fadeInOut 1.5s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    20% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}

.errorMessage {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 77, 79, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}